import request from "@/config/axios";

const baseUrl = "http://localhost:3000/dev-api/screen/activity";

// 首页-获取活动数据
export const fetchGetActivityList= () => {
  return request.get({ url: `${baseUrl}/list` });
};

// 首页-获取活动规模排行
export const fetchGetActivityNumberRank= () => {
  return request.get({ url: `${baseUrl}/numberRank` });
};

// 首页-获取活动规模排行
export const fetchGetActivityByMonth= () => {
  return request.get({ url: `${baseUrl}/byMonth` });
};

